﻿@{
    string searchstr = "";
    try { searchstr = Request.QueryString["s"].ToString(); } catch {}
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="@ViewBag.MetaKeywords" />
<meta name="description" content="@ViewBag.MetaDescription" />
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/greentea/olivesoftwaredirect.css")" rel="stylesheet" type="text/css" media="screen" />
<link href="@Url.Content("~/Content/greentea/jquery-ui-1.8.8.custom.css")" rel="stylesheet" type="text/css" media="screen" />
<link href="@Url.Content("~/Content/openid.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/datatable.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery-ui.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/MicrosoftAjax.js")" type="text/javascript"></script>  
<script src="@Url.Content("/Scripts/MicrosoftMvcAjax.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jquery.dataTables.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/ckeditor/ckeditor.js")" type="text/javascript"></script>
<style id="styles" type="text/css">
    @RenderSection("StyleInView", required: false)
</style>
<script type="text/javascript">

    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', '@Session["GoogleAnalyticsAccount"].ToString()']);
    _gaq.push(['_trackPageview']);

    (function () {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();

</script>
</head>
<body>
<!--  Free CSS Template by TemplateMo.com  --> 
<div id="container">
	<div id="header">
    	<div id="site_title">
			<p><a href="/home.html"><img style="border:0px;vertical-align: top;margin-bottom: 10px" src="@Url.Content("~/Content/Images/OliveSoftwareDirect.png")" /></a></p>
        </div>
        <div id="sysarea">
            <div id="sysmenu">            
                @Html.Partial("_LogOnPartial")            
            </div>
            <div id="BU">
                @Session["BusinessUnitName"].ToString()
            </div>
		    <div id="search">
			    <form method="get" action="/Home/Search">
				    <input id="search-text" type="text" name="s" value="@searchstr" size="15" />
				    <input type="image" src="/Content/greentea/images/search_button.png" id="search-submit" value="Search" />
			    </form>
    		</div>
		    <!-- end #search -->
        </div>
        <div style="clear: both;" ></div>
    </div> <!-- end of header -->
    
    <div id="menu">
        @Html.Action("Display", "MainMenu", new { area = "" })
        <!--
        <ul>
        	<li class="current"><a href="#"><b>Home</b></a></li>
            <li><a href="http://www.templatemo.com/page/1" target="_parent"><b>Tea</b></a></li>
          	<li><a href="http://www.templatemo.com/page/2" target="_parent"><b>Top Dishes</b></a></li>
          	<li><a href="#"><b>Food Menus</b></a></li>
            <li><a href="#"><b>Company</b></a></li>
            <li ><a href="#"><b>Contact</b></a></li>
        </ul>
        -->
    </div> <!-- end of menu -->
    <div class="cleaner"></div>

    <div id="content_wrapper">
        <div id="content">
                @RenderBody()    
        </div> <!-- end of top dishes -->
        <div class="cleaner"></div>
    </div>

<div id="footer">
<!--        
    	<a href="#">Home</a> | <a href="#">Tea</a> | <a href="#">Top Dishes</a> | <a href="#">Company</a> | <a href="#">FAQs</a> | <a href="#">Contact Us</a><br />
-->
        Copyright © @DateTime.Today.Year.ToString() @Session["BusinessUnitName"].ToString() | Powered by <a href="http://olivelite.com" title="OliveLite" target="_blank">OliveLite</a> | Original Template by <a href="http://www.templatemo.com" title="Free CSS Templates" target="_blank">Free CSS Templates</a>, adapted by Deepak Chitnis</div> <!-- end of footer -->
<!--  Free CSS Templates by TemplateMo.com  --> 
</div><!-- end of container -->
</body>
</html>